import request from '~/utils/request'
// 用户登录注册api
// 验证手机号
export default{
  sendMsg(mobile) {
    return request({
      baseURL: 'http://localhost:8150',
      url: `/api/sms/sendMsg/${mobile}`,
      method: 'get'
    })
  },
  // 注册
  regist(member) {
    return request({
      baseURL: 'http://localhost:8160',
      url: '/api/ucenter/member/regist/',
      method: 'post',
      data: member
    })
  }

}
